package com.snail.xgcd.service;

import com.snail.xgcd.bean.Single;
import com.snail.xgcd.bean.User;

public interface UserService {

    Single login(User user);

    Single logout(User user);

    Single findAll(User member, Integer pageSize, Integer pageNum);

    Single deleteByPrimaryKey(String id);

    Single insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    Single updateByPrimaryKeySelective(User record);

    Single updateByPrimaryKey(User record);
}